class {}

<container|{ show }| key="container">
    <if(show)>
        <input#eventTarget on-focus("emit", "eventFired")/>
    </if>
</container>